package com.konke.sdslibrary.event;

/**
 * Created by L on 2016/12/15.
 */

public class DoorContactEvent extends RoomDeviceStatusEvent {

    private boolean on;
    private int power;

    public DoorContactEvent(String ccuId, int deviceId, int roomId) {
        super(ccuId, deviceId, roomId);
    }

    public boolean isOn() {
        return on;
    }

    public void setOn(boolean on) {
        this.on = on;
    }

    public int getPower() {
        return power;
    }

    public void setPower(int power) {
        this.power = power;
    }
}
